// 点赞博客的路由模块

const express = require('express');
const router = express.Router();
const thumb_handler = require('../router_handler/thumb');

// 对指定ID的博客进行点赞
router.get('/thumb/:id', thumb_handler.thumbBlog)

// 取消点赞
router.get('/cancelthumb/:id',thumb_handler.cancelThumb)

// 获取一个博客的点赞数
router.get('/getthumbcount/:id',thumb_handler.getThumbCount)


module.exports = router;